import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './utils/px2rem'
import apijs from './utils/index'
import store from '@/store/index.js'
import api from '@/common/api.js'
import tablist from '@/common/tab.js'
// import animate from "animate.css";
/*import 'lib-flexible/flexible.js'*/
// import 'amfe-flexible'
// import 'bootstrap';

import tools from './utils/tools.js'
Vue.use(tools)
// 注册全局组件
import aMian from '@/components/a-mian.vue'
import aList from '@/components/a-list.vue'
import aPage from '@/components/a-page.vue'
import aTab from '@/components/a-tab.vue'
Vue.component('aMian',aMian)
Vue.component('aList',aList)
Vue.component('aPage',aPage)
Vue.component('aTab',aTab)

// Vue.use(animate);

Vue.prototype.$tab = tablist
Vue.prototype.$store = store
Vue.prototype.$apijs = apijs
Vue.prototype.$api = api
Vue.config.productionTip = false
Vue.use(ElementUI);

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
